#include <iostream>
#include <SFML/Graphics.hpp>
#include "StateVector2D.h"

int main()
{
    sf::RenderWindow window(sf::VideoMode(200,200), "Hello, Clive!!! Let's make a game. Ok. We will.");

    sf::CircleShape shape(100.f);
    shape.setFillColor(sf::Color::Green);

    while(window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if(event.type==sf::Event::Closed)
                window.close();
        }

        window.clear();
        window.draw(shape);
        window.display();
    }

    StateVector2D sv = StateVector2D(1.0);

    std::cout << sv.getCurrentState() << std::endl;
    sv.updateState();
    std::cout << sv.getCurrentState() << std::endl;
    sv.updateState();
    std::cout << sv.getCurrentState() << std::endl;
    sv.updateState();
    std::cout << sv.getCurrentState() << std::endl;
    sv.updateState(5.5);
    std::cout << sv.getCurrentState() << std::endl;

    return 0;
}
